﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using BUS;
using Public;

namespace QuanLyKhoHangVatTu
{
    public partial class NhaCungCap : DevExpress.XtraEditors.XtraForm
    {
        NhaCungCap_BUS nhacc_bus = new NhaCungCap_BUS();
        NhaCungCap_PB nhacc_pb = new NhaCungCap_PB();
        public NhaCungCap()
        {
            InitializeComponent();
        }

        public NhaCungCap(string ma, string ten, string diachi, string manhom, string mst, string dienthoai, string fax, string email, string wsite)
        {
            InitializeComponent();
            txtMa.Text = ma;
            txtTen.Text = ten;
            txtDiaChi.Text = diachi;
            cboNhom.EditValue = manhom;
            txtMaSoThue.Text = mst;
            txtDienThoai.Text = dienthoai;
            txtFax.Text = fax;
            txtEmail.Text = email;
            txtWebSite.Text = wsite;
        }

        private void NhaCungCap_Load(object sender, EventArgs e)
        {

        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {

        }

        private void textEdit4_EditValueChanged(object sender, EventArgs e)
        {

        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {

        }
    }
}